function z = wood(x)
%Wood function
%n=4,m=6,x0=[-3,-1,-3,-1]
%fmin1=f14([1;1;1;1])=0 
%Author:Ji Lin
z(1)=10*(x(2)-x(1)^2);
z(2)=1-x(1);
z(3)=(90)^(1/2)*(x(4)-x(3)^2);
z(4)=1-x(3);
z(5)=(10)^(1/2)*(x(2)+x(4)-2);
z(6)=(10)^(-1/2)*(x(2)-x(4));
z=sum(z.^2);